package com.wxq.workpad

import android.os.Bundle
import com.wxq.workpad.base.BaseFragment
import com.wxq.workpad.databinding.FragmentHomeBinding
import com.wxq.workpad.finishproduct.ProductListActivity
import com.wxq.workpad.lailiao.LaiLiaoActivity
import com.wxq.workpad.utils.log.LogUtils


class HomeFragment : BaseFragment<FragmentHomeBinding>() {


    override fun lazyLoad() {
        super.lazyLoad()
        LogUtils.e("HomeFragment  lazyLoad")
    }

    companion object {
        @JvmStatic
        fun newInstance() =
            HomeFragment().apply {
                arguments = Bundle().apply {

                }
            }
    }

    override fun init() {
      binding.llTotalKuchun.setOnClickListener{
          ProductListActivity.newInstance(mContext!!)
      }

      binding.llTotalKuchun2.setOnClickListener{
          // 来料检测
          LaiLiaoActivity.newInstance(mContext!!)
      }



    }
}